package www.wxwnb.clerk.utils;

/**
 * Created by dingguanxu on 2017/9/12.
 */

public class TypeAndStateUtil {

    public static String getTypeByInt(int type) {
        String s = "";
        switch (type) {
            case 1:
                s = "运营商";
                break;
            case 2:
                s = "一星商家";
                break;
            case 3:
                s = "二星商家";
                break;
            case 4:
                s = "三星商家";
                break;
            case 5:
                s = "预存商家";
                break;
        }
        return s;
    }

    public static String getStateByInt(int state) {
        String s = "";
        switch (state) {
            case 0:
                s = "未审核";
                break;
            case 1:
                s = "已审核";
                break;
            case 2:
                s = "未通过";
                break;
        }
        return s;
    }

}
